package java5.genericity.standard;

import java.util.Collection;
import java.util.Iterator;

public class Stack<E> {
    public Stack() {

    }

    public void push(E e) {

    }

    public void pushAll(Iterator<E> e) {

    }

    public void pushAllExtends(Iterator<? extends E > e) {

    }

    public void pollAll(Collection<E> det) {
        while (!isEmpty()){
            det.add(pop());
        }
    }

    public void pollAllSuper(Collection<? super E> det) {
        while (!isEmpty()){
            det.add(pop());
        }
    }

    public E pop() {

        return null;
    }

    public boolean isEmpty() {
        return false;
    }


}
